home *** CD-ROM | disk | FTP | other *** search
- .TH CONTOUR
- 6 "IRIT Version 6.0"
- .SH NAME
- CONTOUR
-
-
-
- PolygonType CONTOUR( SurfaceType ContouredSrf, PlaneType ContourPlane )
-
- or
-
- PolygonType CONTOUR( SurfaceType ContouredSrf, PlaneType ContourPlane,
- SurfaceType MappedSrf )
-
- Contours surface ContouredSrf by intersecting plane ContourPlane
- with a polygonal approximating of ContouredSrf with resolution set
- via variable RESOLUTION.
- If ContouredSrf is a scalar field surface of type E1 or P1 and
- MappedSrf is provided, ContouredSrf is contoured above its
- parametric domain (U is X, V is Y) and the resulting parametric curve
- is composed with MappedSrf to yield the returned value.
-
- Example:
-
- resolution = 20;
- nglass = snrmlsrf( glass ) * vector( 1, 1, 1 );
-
- sils = contour( nglass, plane( 1, 0, 0, 0 ), glass );
- color( sils, cyan );
- attrib( sils, "dwidth", 4 );
-
- view( list( axes, glass, sils ), on );
-
- Computes the normal field of the surface glass, project it onto
- the viewing direction of (1, 1, 1) and contour the resulting scalar field
- with the plane X = 0, to extract the silhouette curves from viewing direction
- (1, 1, 1).
-